<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<meta http-equiv=“X-UA-Compatible” content=“IE=8″>
		<title>帐号管理</title>
		<link rel="stylesheet" href="./../public/css/common.css">
		<link rel="stylesheet" href="./../public/css/pintuer.css">
		<link rel="stylesheet" href="./css/account-manage.css">
	</head>
	<body>
		<div class="content">
			<div ms-controller="accountManage">
				<div class="account_section ">
					<div class="line-big border section_common">
						<div class="x12">

							<div class="line-big bg-sub box-header">
								<div class="x8 title">
									修改账户信息
								</div>
								<div class="x4 text-right">
									<a href="javascript:;" ms-click="@modifyClick('accountSign')">修改</a>
								</div>
							</div>
							<form>
								<div class="line-big ">
									<div class="x12">
										<form action="account.do?act=account" name="myform" method="post">
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													手机号码
												</div>

												<div class="am-form-right">
													<input class="commoninput" ms-duplex="@tel" name="tel" disabled="disabled" />
												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													图形验证码
												</div>

												<div class="am-form-right">
													<input class="commoninput codeinput" name="code" ms-duplex="@imgcode1" ms-attr="{disabled: @accountSign}" autocomplete="off"/>
													<img ms-attr="{src: @path1}"  class="imgcode1 hide" ms-class="@imgcode1show?'showinlineblock':''" ms-click="@imgchange('path1','accountSign')" />
													<span class="textshow_btn" ms-if="@text1show" ms-click="@imgchange('path1','accountSign')">点击获取图片</span>
												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													验证码
												</div>

												<div class="am-form-right">
													<input class="commoninput codeinput" name="code" ms-duplex="@codenub" ms-attr="{disabled: @accountSign}" autocomplete="off"/>
													<input type="button" class=" btn" ms-attr="{disabled: @SMSSendClick || @accountSign}" ms-click="@SMSSend('txtusersend','imgcode1')"
													 ms-duplex="@txtusersend" />


												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													新密码
												</div>

												<div class="am-form-right">
													<input type="password" class="commoninput" name="newpassword" ms-duplex="@newpassword" ms-attr="{disabled: @accountSign}" autocomplete="off"/>
												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">
													确认密码
												</div>

												<div class="am-form-right">
													<input type="password" class="commoninput" name="surepassword" ms-duplex="@surepassword" ms-attr="{disabled: @accountSign}" autocomplete="off"/>
												</div>
											</div>
											<div class="line-big am-form-group">
												<div class="am-form-left text-left">

												</div>

												<div class="am-form-right" ms-if='accountSign==false'>
													<button class="button bg-sub" type="button" ms-click="@modifyPassword">
														<img class="loadimg" :class="showLoad1 ? '' : 'hide'"  src="./../public/images/load3.gif" />确认修改</button>
													<button class="button n-option" type="button" ms-click="@cancel1()">
														取消</button>
												</div>
											</div>

										</form>
									</div>
								</div>
							</form>
						</div>
					</div>
					<!-- 设置支付密码 -->
					<div class="line-big border section_common">
						<div class="x12">
							<div class="line-big bg-sub box-header">
								<div class="x8 title">
									设置支付密码
								</div>
								<div class="x4 text-right">
									<a href="javascript:;" ms-click="@modifyClick('psdSign')">修改</a>
								</div>
							</div>
							<div class="line-big ">
								<div class="x12">
									<form>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												手机号码
											</div>

											<div class="am-form-right">
												<input class="commoninput"  ms-duplex="@tel" disabled="disabled" />
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												图形验证码
											</div>

											<div class="am-form-right">
												<input class="commoninput codeinput" name="code" ms-duplex="@imgcode2" ms-attr="{disabled: @psdSign}" autocomplete="off"/>
												<img ms-attr="{src: @path2}" class="imgcode1"  ms-class="@imgcode2show?'showinlineblock':''" ms-click="@imgchange('path2','psdSign')" />
												<span class="textshow_btn" ms-if="@text2show" ms-click="@imgchange('path2','psdSign')">点击获取图片</span>
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												验证码
											</div>

											<div class="am-form-right">
												<input class="commoninput codeinput" ms-duplex="@paycode" ms-attr="{disabled: @psdSign}" autocomplete="off"/>
												<input type="button" class=" btn" ms-attr="{disabled: @SMSSendClick || @psdSign}" ms-click="@SMSSend('txtsetpaypassword','imgcode2')"
												 ms-duplex="@txtsetpaypassword" />

											</div>
										</div>
										<!-- <div class="line-big am-form-group">
											<div class="am-form-left text-left">
												登陆密码
											</div>

											<div class="am-form-right">
												<input type="password" class="commoninput" ms-duplex="@loginpassword" ms-attr="{disabled: @psdSign}" />
											</div>
										</div> -->
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												新支付密码
											</div>

											<div class="am-form-right">
												<input type="password" class="commoninput" ms-duplex="@newpaypassword" ms-attr="{disabled: @psdSign}" autocomplete="off"/>
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												确认密码
											</div>

											<div class="am-form-right">
												<input type="password" class="commoninput" value="" ms-duplex="@surepaypassword" ms-attr="{disabled: @psdSign}" autocomplete="off"/>
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">

											</div>

											<div class="am-form-right" ms-if='psdSign==false'>
												<button class="button bg-sub" type="button" ms-click="@modifyPayPassword()">
													<img class="loadimg" :class="showLoad2 ? '' : 'hide'"  src="./../public/images/load3.gif" />确认提交</button>
												<button class="button n-option" type="button" ms-click="@cancel2()">
													取消</button>
											</div>
										</div>

									</form>
								</div>
							</div>
						</div>
					</div>
					<!-- 退款设置 -->
					<div class="line-big border section_common">
						<div class="x12">
							<div class="line-big bg-sub box-header">
								<div class="x8 title">
									退款设置
								</div>
								<div class="x4 text-right">
									<a href="javascript:;" ms-click="@modifyClick('refundSign')">修改</a>
								</div>
							</div>
							<div class="line-big ">
								<div class="x12">
									<form>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												手机号码
											</div>

											<div class="am-form-right">
												<input class="commoninput"  ms-duplex="@tel" disabled="disabled" />
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												退款期限
											</div>

											<div class="am-form-right">
												<select class="commoninput" ms-attr="{disabled: @refundSign}" ms-duplex="@daytime">
													<option value="">请选择退款期限</option>
													<option value="1">1小时内(默认)</option>
													<option value="2">2小时内</option>
													<option value="3">3小时内</option>
													<option value="6)">6小时内</option>
													<option value="12">12小时内</option>
													<option value="24">24小时内</option>
													<option value="48">48小时内</option>
												</select>

											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												图形验证码
											</div>

											<div class="am-form-right">
												<input class="commoninput codeinput" name="code" ms-duplex="@imgcode3" ms-attr="{disabled: @refundSign}" autocomplete="off"/>
												<img ms-attr="{src: @path3}" class="imgcode1" ms-class="@imgcode3show?'showinlineblock':''" ms-click="@imgchange('path3','refundSign')" />
												<span class="textshow_btn" ms-if="@text3show" ms-click="@imgchange('path3','refundSign')">点击获取图片</span>
											</div>
										</div>

										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												手机验证码
											</div>

											<div class="am-form-right">
												<input class="commoninput codeinput" ms-attr="{disabled: @refundSign}" ms-duplex="@refundcode" autocomplete="off"/>
												<input type="button" class=" btn" id="refunddate" ms-attr="{disabled: @SMSSendClick || @refundSign}"
												 ms-click="@SMSSend('txtrefunddate','imgcode3')" ms-duplex="@txtrefunddate" />

											</div>
										</div>

										<div class="line-big am-form-group">
											<div class="am-form-left text-left">

											</div>

											<div class="am-form-right" ms-if='refundSign==false'>
												<button class="button bg-sub" type="button" ms-on-click="@surerefund">
													<img class="loadimg" :class="showLoad3 ? '' : 'hide'"  src="./../public/images/load3.gif" />确认保存</button>
												<button class="button n-option" type="button" ms-on-click="@cancel3()">
													取消</button>
											</div>
										</div>

									</form>
								</div>
							</div>
						</div>
					</div>


				</div>
			</div>
		</div>


	</body>
	<!-- api 接口配置文档 -->
	<script src="./../api/api.js"></script>
	<!-- jquery -->
	<script src="./../public/js/jquery.js"></script>
	<!-- 拼图 js -->
	<script src="./../public/js/pintuer.js"></script>
	<!-- avalon js -->
	<script src="./../public/js/avalon.js"></script>
	<!-- common js -->
	<script src="./../public/js/common.js"></script>
	<!-- 账号管理css -->
	<script src="./js/account-manage.js"></script>
</html>
